ResponderMarkupSN
METADATA
Attribute | Value |
---|---|
Topic | 2450-liquidity-notice |
MLink Token | SRATS |
Product | SRTrade |
accessType | SELECT,UPDATE,INSERT,DELETE |
Table Definition
Field | Type | Key | Default Value | Comment |
---|---|---|---|---|
accnt | VARCHAR(16) | PRI | '' | |
clientFirm | VARCHAR(16) | PRI | '' | |
ekey_at | enum - AssetType | PRI | 'None' | |
ekey_ts | enum - TickerSrc | PRI | 'None' | |
ekey_tk | VARCHAR(12) | PRI | '' | |
ekey_yr | SMALLINT UNSIGNED | PRI | 0 | |
ekey_mn | TINYINT UNSIGNED | PRI | 0 | |
ekey_dy | TINYINT UNSIGNED | PRI | 0 | |
respSide | enum - BuySell | PRI | 'None' | auction responder side your side Buy Buy Synthetic EuropeanFlex |
ticker_at | enum - AssetType | 'None' | ||
ticker_ts | enum - TickerSrc | 'None' | ||
ticker_tk | VARCHAR(12) | '' | ||
isDisabled | enum - YesNo | 'None' | if Yes this autoresponder record is disabled | |
expiryQtyAvail | INT | 0 | synthetics contracts available for responding day total this tickerexpiry all strikes note 1 contract undPerCn underlier units | |
tickerQtyAvail | INT | 0 | synthetics contracts available for responding day total this ticker all strikes note 1 contract undPerCn underlier units | |
refUPrcType | enum - RefUPrcType | 'None' | mid or cross bidask | |
transactFee | DOUBLE | 0 | you pay you receive | |
stockRate | DOUBLE | 0 | 000 no effective lendborrow value 360 day convention | |
moneyRate | DOUBLE | 0 | effective rate to borrowlend money to expiry 360 day convention compares to globalRate 360 365 | |
ddivPv | DOUBLE | 0 | present value of any expected dividends to expiry | |
divControl | enum - DivControl | 'None' | disable this autoresponder record if SR Dividends exist or are estimates | |
incFeesInResp | enum - YesNo | 'None' | include all estimated responder fees in final response price | |
roundRule | enum - RoundRule | 'None' | ||
openExpiryQty | INT | 0 | remaining synthetics 100 share units available for responding day total this tickerexpiry all strikes | |
openTickerQty | INT | 0 | remaining synthetics 100 share units available for responding day total this ticker all strikes | |
cumExpiryQty | INT | 0 | synthetics 100 share units traded day total this expiry all strikes | |
cumExpiryMoney | DOUBLE | 0 | cumulative fill money creditdebit this expiry | |
avgExpiryPrice | DOUBLE | 0 | avg fill effective price this expiry compare to live uPrc | |
isDivControlDisabled | enum - YesNo | 'None' | yes if dividend control above is triggered | |
uBid | DOUBLE | 0 | live stock price nbbo bid | |
uAsk | DOUBLE | 0 | live stock price nbbo ask | |
iDays | DOUBLE | 0 | iDays effective interest days SR supplied | |
iYears | DOUBLE | 0 | iYears iDays 3600 | |
strike | DOUBLE | 0 | SR selected strike | |
strikePv | DOUBLE | 0 | strikePv strike 10 moneyRate iYears moneyRate supplied above | |
stockLendPv | DOUBLE | 0 | stockLendPv uPrc stockRate iYears stockRate supplied above | |
syntheticPrem | DOUBLE | 0 | syntheticPrem stockLendPv strikePv ddivPv rcEExPrem if any uPrc pRvprice cRvprice ddivPv supplied above | |
effSyntheticLimit | DOUBLE | 0 | effSyntheticLimit syntheticPrem transactFee buysell | |
limitPrice | DOUBLE | 0 | limitPrice ROUNDeffSyntheticLimit this is your response limit price | |
numNotices | BIGINT | 0 | number of notices that match response bucket | |
numNoticeSR | BIGINT | 0 | number of SR auction numNotices | |
numNoticeAMEX | BIGINT | 0 | ||
numNoticeBATS | BIGINT | 0 | ||
numNoticeBOX | BIGINT | 0 | ||
numNoticeCBOE | BIGINT | 0 | ||
numNoticeC2 | BIGINT | 0 | ||
numNoticeEDGO | BIGINT | 0 | ||
numNoticeEMLD | BIGINT | 0 | ||
numNoticeGMNI | BIGINT | 0 | ||
numNoticeISE | BIGINT | 0 | ||
numNoticeMCRY | BIGINT | 0 | ||
numNoticeMEMX | BIGINT | 0 | ||
numNoticeMIAX | BIGINT | 0 | ||
numNoticeMPRL | BIGINT | 0 | ||
numNoticeNQBX | BIGINT | 0 | ||
numNoticeNSDQ | BIGINT | 0 | ||
numNoticePHLX | BIGINT | 0 | ||
numNoticeSPHR | BIGINT | 0 | ||
numDisabled | BIGINT | 0 | number skipped from isDisabled | |
numListedFlexMiss | BIGINT | 0 | number skipped from flexlisted filter | |
numNoticePriceMiss | BIGINT | 0 | number skipped from limit price filter exchange only | |
numAggSizeLimit | BIGINT | 0 | number skipped from aggregate contractvega size limit | |
numRiskGroupLimit | BIGINT | 0 | number skipped from riskGroup limits | |
numResponses | BIGINT | 0 | number of response attempts number of parentOrdersNoticeExecReports | |
numFullSize | BIGINT | 0 | ||
numAllocSize | BIGINT | 0 | ||
numPriceMiss | BIGINT | 0 | ||
numTooLate | BIGINT | 0 | ||
numOtherMiss | BIGINT | 0 | ||
numDidNotTrade | BIGINT | 0 | ||
modifiedBy | VARCHAR(24) | '' | user who last modified this record | |
modifiedIn | enum - SysEnvironment | 'None' | ||
timestamp | DATETIME(6) | '1900-01-01 00:00:00.000000' | timestamp of last modification |
PRIMARY KEY DEFINITION (Unique)
Field | Sequence |
---|---|
accnt | 1 |
clientFirm | 2 |
ekey_tk | 3 |
ekey_yr | 4 |
ekey_mn | 5 |
ekey_dy | 6 |
ekey_at | 7 |
ekey_ts | 8 |
respSide | 9 |
CREATE TABLE EXAMPLE QUERY
CREATE TABLE `SRTrade`.`MsgResponderMarkupSN` (
`accnt` VARCHAR(16) NOT NULL DEFAULT '',
`clientFirm` VARCHAR(16) NOT NULL DEFAULT '',
`ekey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`ekey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`ekey_tk` VARCHAR(12) NOT NULL DEFAULT '',
`ekey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`ekey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`ekey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`respSide` ENUM('None','Buy','Sell') NOT NULL DEFAULT 'None' COMMENT 'auction responder side (your side); Buy = Buy Synthetic (European/Flex)',
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '',
`isDisabled` ENUM('None','Yes','No') NOT NULL DEFAULT 'None' COMMENT 'if Yes, this auto-responder record is disabled',
`expiryQtyAvail` INT NOT NULL DEFAULT 0 COMMENT 'synthetics (contracts) available for responding (day total; this ticker/expiry; all strikes) [note: 1 contract = undPerCn underlier units]',
`tickerQtyAvail` INT NOT NULL DEFAULT 0 COMMENT 'synthetics (contracts) available for responding (day total; this ticker; all strikes) [note: 1 contract = undPerCn underlier units]',
`refUPrcType` ENUM('None','Mid','Cross','Join') NOT NULL DEFAULT 'None' COMMENT 'mid or cross (bid/ask)',
`transactFee` DOUBLE NOT NULL DEFAULT 0 COMMENT '(+ = you pay) / (- = you receive)',
`stockRate` DOUBLE NOT NULL DEFAULT 0 COMMENT '0.00 = no effective lend/borrow value (360 day convention)',
`moneyRate` DOUBLE NOT NULL DEFAULT 0 COMMENT 'effective rate to borrow/lend money to expiry (360 day convention) [compares to globalRate * 360 / 365]',
`ddivPv` DOUBLE NOT NULL DEFAULT 0 COMMENT 'present value of any expected dividends to expiry',
`divControl` ENUM('None','DisableAny','DisableEstimates') NOT NULL DEFAULT 'None' COMMENT 'disable this auto-responder record if SR Dividends exist or are estimates',
`incFeesInResp` ENUM('None','Yes','No') NOT NULL DEFAULT 'None' COMMENT 'include all estimated responder fees in final response price',
`roundRule` ENUM('None','Exact','Fuzzy') NOT NULL DEFAULT 'None',
`openExpiryQty` INT NOT NULL DEFAULT 0 COMMENT 'remaining synthetics (100 share units) available for responding (day total; this ticker/expiry; all strikes)',
`openTickerQty` INT NOT NULL DEFAULT 0 COMMENT 'remaining synthetics (100 share units) available for responding (day total; this ticker; all strikes)',
`cumExpiryQty` INT NOT NULL DEFAULT 0 COMMENT 'synthetics (100 share units) traded (day total; this expiry; all strikes)',
`cumExpiryMoney` DOUBLE NOT NULL DEFAULT 0 COMMENT 'cumulative fill money (credit/debit) (this expiry)',
`avgExpiryPrice` DOUBLE NOT NULL DEFAULT 0 COMMENT 'avg fill effective price (this expiry) [compare to live uPrc]',
`isDivControlDisabled` ENUM('None','Yes','No') NOT NULL DEFAULT 'None' COMMENT 'yes if dividend control above is triggered',
`uBid` DOUBLE NOT NULL DEFAULT 0 COMMENT 'live stock price [nbbo bid]',
`uAsk` DOUBLE NOT NULL DEFAULT 0 COMMENT 'live stock price [nbbo ask]',
`iDays` DOUBLE NOT NULL DEFAULT 0 COMMENT 'iDays = effective interest days [SR supplied]',
`iYears` DOUBLE NOT NULL DEFAULT 0 COMMENT 'iYears = iDays / 360.0',
`strike` DOUBLE NOT NULL DEFAULT 0 COMMENT 'SR selected strike',
`strikePv` DOUBLE NOT NULL DEFAULT 0 COMMENT 'strikePv = strike * (1.0 - moneyRate * iYears) [moneyRate supplied above]',
`stockLendPv` DOUBLE NOT NULL DEFAULT 0 COMMENT 'stockLendPv = uPrc * stockRate * iYears [stockRate supplied above]',
`syntheticPrem` DOUBLE NOT NULL DEFAULT 0 COMMENT 'syntheticPrem = stockLendPv + strikePv + ddivPv + rcEExPrem (if any) [uPrc + pRv.price - cRv.price] [ddivPv supplied above]',
`effSyntheticLimit` DOUBLE NOT NULL DEFAULT 0 COMMENT 'effSyntheticLimit = syntheticPrem +/- transactFee [buy/sell]',
`limitPrice` DOUBLE NOT NULL DEFAULT 0 COMMENT 'limitPrice = ROUND(effSyntheticLimit) [this is your response limit price]',
`numNotices` BIGINT NOT NULL DEFAULT 0 COMMENT 'number of notices that match response bucket',
`numNoticeSR` BIGINT NOT NULL DEFAULT 0 COMMENT 'number of SR auction numNotices',
`numNoticeAMEX` BIGINT NOT NULL DEFAULT 0,
`numNoticeBATS` BIGINT NOT NULL DEFAULT 0,
`numNoticeBOX` BIGINT NOT NULL DEFAULT 0,
`numNoticeCBOE` BIGINT NOT NULL DEFAULT 0,
`numNoticeC2` BIGINT NOT NULL DEFAULT 0,
`numNoticeEDGO` BIGINT NOT NULL DEFAULT 0,
`numNoticeEMLD` BIGINT NOT NULL DEFAULT 0,
`numNoticeGMNI` BIGINT NOT NULL DEFAULT 0,
`numNoticeISE` BIGINT NOT NULL DEFAULT 0,
`numNoticeMCRY` BIGINT NOT NULL DEFAULT 0,
`numNoticeMEMX` BIGINT NOT NULL DEFAULT 0,
`numNoticeMIAX` BIGINT NOT NULL DEFAULT 0,
`numNoticeMPRL` BIGINT NOT NULL DEFAULT 0,
`numNoticeNQBX` BIGINT NOT NULL DEFAULT 0,
`numNoticeNSDQ` BIGINT NOT NULL DEFAULT 0,
`numNoticePHLX` BIGINT NOT NULL DEFAULT 0,
`numNoticeSPHR` BIGINT NOT NULL DEFAULT 0,
`numDisabled` BIGINT NOT NULL DEFAULT 0 COMMENT 'number skipped from isDisabled',
`numListedFlexMiss` BIGINT NOT NULL DEFAULT 0 COMMENT 'number skipped from flex/listed filter',
`numNoticePriceMiss` BIGINT NOT NULL DEFAULT 0 COMMENT 'number skipped from limit price filter (exchange only)',
`numAggSizeLimit` BIGINT NOT NULL DEFAULT 0 COMMENT 'number skipped from aggregate contract/vega size limit',
`numRiskGroupLimit` BIGINT NOT NULL DEFAULT 0 COMMENT 'number skipped from riskGroup limits',
`numResponses` BIGINT NOT NULL DEFAULT 0 COMMENT 'number of response attempts (number of parentOrders/NoticeExecReports)',
`numFullSize` BIGINT NOT NULL DEFAULT 0,
`numAllocSize` BIGINT NOT NULL DEFAULT 0,
`numPriceMiss` BIGINT NOT NULL DEFAULT 0,
`numTooLate` BIGINT NOT NULL DEFAULT 0,
`numOtherMiss` BIGINT NOT NULL DEFAULT 0,
`numDidNotTrade` BIGINT NOT NULL DEFAULT 0,
`modifiedBy` VARCHAR(24) NOT NULL DEFAULT '' COMMENT 'user who last modified this record',
`modifiedIn` ENUM('None','Neptune','Pluto','V7_Stable','V7_Latest','Saturn','Venus','Mars','SysTest','V7_Current') NOT NULL DEFAULT 'None',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000' COMMENT 'timestamp of last modification',
PRIMARY KEY USING HASH (`accnt`,`clientFirm`,`ekey_tk`,`ekey_yr`,`ekey_mn`,`ekey_dy`,`ekey_at`,`ekey_ts`,`respSide`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='';
SELECT TABLE EXAMPLE QUERY
SELECT
`accnt`,
`clientFirm`,
`ekey_at`,
`ekey_ts`,
`ekey_tk`,
`ekey_yr`,
`ekey_mn`,
`ekey_dy`,
`respSide`,
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`isDisabled`,
`expiryQtyAvail`,
`tickerQtyAvail`,
`refUPrcType`,
`transactFee`,
`stockRate`,
`moneyRate`,
`ddivPv`,
`divControl`,
`incFeesInResp`,
`roundRule`,
`openExpiryQty`,
`openTickerQty`,
`cumExpiryQty`,
`cumExpiryMoney`,
`avgExpiryPrice`,
`isDivControlDisabled`,
`uBid`,
`uAsk`,
`iDays`,
`iYears`,
`strike`,
`strikePv`,
`stockLendPv`,
`syntheticPrem`,
`effSyntheticLimit`,
`limitPrice`,
`numNotices`,
`numNoticeSR`,
`numNoticeAMEX`,
`numNoticeBATS`,
`numNoticeBOX`,
`numNoticeCBOE`,
`numNoticeC2`,
`numNoticeEDGO`,
`numNoticeEMLD`,
`numNoticeGMNI`,
`numNoticeISE`,
`numNoticeMCRY`,
`numNoticeMEMX`,
`numNoticeMIAX`,
`numNoticeMPRL`,
`numNoticeNQBX`,
`numNoticeNSDQ`,
`numNoticePHLX`,
`numNoticeSPHR`,
`numDisabled`,
`numListedFlexMiss`,
`numNoticePriceMiss`,
`numAggSizeLimit`,
`numRiskGroupLimit`,
`numResponses`,
`numFullSize`,
`numAllocSize`,
`numPriceMiss`,
`numTooLate`,
`numOtherMiss`,
`numDidNotTrade`,
`timestamp`
FROM `SRTrade`.`MsgResponderMarkupSN`
WHERE
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm'
AND
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ekey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ekey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ekey_tk` = 'Example_ekey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`ekey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_dy` = 1
AND
/* Replace with a ENUM('None','Buy','Sell') */
`respSide` = 'None';
UPDATE TABLE EXAMPLE QUERY
UPDATE `SRTrade`.`MsgResponderMarkupSN`
SET
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ticker_at` = 'None',
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ticker_ts` = 'None',
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk',
/* Replace with a ENUM('None','Yes','No') */
`isDisabled` = 'None',
/* Replace with a INT */
`expiryQtyAvail` = 5,
/* Replace with a INT */
`tickerQtyAvail` = 5,
/* Replace with a ENUM('None','Mid','Cross','Join') */
`refUPrcType` = 'None',
/* Replace with a DOUBLE */
`transactFee` = 4.56,
/* Replace with a DOUBLE */
`stockRate` = 4.56,
/* Replace with a DOUBLE */
`moneyRate` = 4.56,
/* Replace with a DOUBLE */
`ddivPv` = 4.56,
/* Replace with a ENUM('None','DisableAny','DisableEstimates') */
`divControl` = 'None',
/* Replace with a ENUM('None','Yes','No') */
`incFeesInResp` = 'None',
/* Replace with a ENUM('None','Exact','Fuzzy') */
`roundRule` = 'None',
/* Replace with a INT */
`openExpiryQty` = 5,
/* Replace with a INT */
`openTickerQty` = 5,
/* Replace with a INT */
`cumExpiryQty` = 5,
/* Replace with a DOUBLE */
`cumExpiryMoney` = 4.56,
/* Replace with a DOUBLE */
`avgExpiryPrice` = 4.56,
/* Replace with a ENUM('None','Yes','No') */
`isDivControlDisabled` = 'None',
/* Replace with a DOUBLE */
`uBid` = 4.56,
/* Replace with a DOUBLE */
`uAsk` = 4.56,
/* Replace with a DOUBLE */
`iDays` = 4.56,
/* Replace with a DOUBLE */
`iYears` = 4.56,
/* Replace with a DOUBLE */
`strike` = 4.56,
/* Replace with a DOUBLE */
`strikePv` = 4.56,
/* Replace with a DOUBLE */
`stockLendPv` = 4.56,
/* Replace with a DOUBLE */
`syntheticPrem` = 4.56,
/* Replace with a DOUBLE */
`effSyntheticLimit` = 4.56,
/* Replace with a DOUBLE */
`limitPrice` = 4.56,
/* Replace with a BIGINT */
`numNotices` = 1234567890,
/* Replace with a BIGINT */
`numNoticeSR` = 1234567890,
/* Replace with a BIGINT */
`numNoticeAMEX` = 1234567890,
/* Replace with a BIGINT */
`numNoticeBATS` = 1234567890,
/* Replace with a BIGINT */
`numNoticeBOX` = 1234567890,
/* Replace with a BIGINT */
`numNoticeCBOE` = 1234567890,
/* Replace with a BIGINT */
`numNoticeC2` = 1234567890,
/* Replace with a BIGINT */
`numNoticeEDGO` = 1234567890,
/* Replace with a BIGINT */
`numNoticeEMLD` = 1234567890,
/* Replace with a BIGINT */
`numNoticeGMNI` = 1234567890,
/* Replace with a BIGINT */
`numNoticeISE` = 1234567890,
/* Replace with a BIGINT */
`numNoticeMCRY` = 1234567890,
/* Replace with a BIGINT */
`numNoticeMEMX` = 1234567890,
/* Replace with a BIGINT */
`numNoticeMIAX` = 1234567890,
/* Replace with a BIGINT */
`numNoticeMPRL` = 1234567890,
/* Replace with a BIGINT */
`numNoticeNQBX` = 1234567890,
/* Replace with a BIGINT */
`numNoticeNSDQ` = 1234567890,
/* Replace with a BIGINT */
`numNoticePHLX` = 1234567890,
/* Replace with a BIGINT */
`numNoticeSPHR` = 1234567890,
/* Replace with a BIGINT */
`numDisabled` = 1234567890,
/* Replace with a BIGINT */
`numListedFlexMiss` = 1234567890,
/* Replace with a BIGINT */
`numNoticePriceMiss` = 1234567890,
/* Replace with a BIGINT */
`numAggSizeLimit` = 1234567890,
/* Replace with a BIGINT */
`numRiskGroupLimit` = 1234567890,
/* Replace with a BIGINT */
`numResponses` = 1234567890,
/* Replace with a BIGINT */
`numFullSize` = 1234567890,
/* Replace with a BIGINT */
`numAllocSize` = 1234567890,
/* Replace with a BIGINT */
`numPriceMiss` = 1234567890,
/* Replace with a BIGINT */
`numTooLate` = 1234567890,
/* Replace with a BIGINT */
`numOtherMiss` = 1234567890,
/* Replace with a BIGINT */
`numDidNotTrade` = 1234567890,
/* Replace with a DATETIME(6) */
`timestamp` = '2022-01-01 12:34:56.000000'
WHERE
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm'
AND
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ekey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ekey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ekey_tk` = 'Example_ekey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`ekey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_dy` = 1
AND
/* Replace with a ENUM('None','Buy','Sell') */
`respSide` = 'None';
INSERT TABLE EXAMPLE QUERY
INSERT INTO `SRTrade`.`MsgResponderMarkupSN`(
/* Replace with a VARCHAR(16) */
`accnt`,
/* Replace with a VARCHAR(16) */
`clientFirm`,
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ekey_at`,
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ekey_ts`,
/* Replace with a VARCHAR(12) */
`ekey_tk`,
/* Replace with a SMALLINT UNSIGNED */
`ekey_yr`,
/* Replace with a TINYINT UNSIGNED */
`ekey_mn`,
/* Replace with a TINYINT UNSIGNED */
`ekey_dy`,
/* Replace with a ENUM('None','Buy','Sell') */
`respSide`,
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ticker_at`,
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ticker_ts`,
/* Replace with a VARCHAR(12) */
`ticker_tk`,
/* Replace with a ENUM('None','Yes','No') */
`isDisabled`,
/* Replace with a INT */
`expiryQtyAvail`,
/* Replace with a INT */
`tickerQtyAvail`,
/* Replace with a ENUM('None','Mid','Cross','Join') */
`refUPrcType`,
/* Replace with a DOUBLE */
`transactFee`,
/* Replace with a DOUBLE */
`stockRate`,
/* Replace with a DOUBLE */
`moneyRate`,
/* Replace with a DOUBLE */
`ddivPv`,
/* Replace with a ENUM('None','DisableAny','DisableEstimates') */
`divControl`,
/* Replace with a ENUM('None','Yes','No') */
`incFeesInResp`,
/* Replace with a ENUM('None','Exact','Fuzzy') */
`roundRule`,
/* Replace with a INT */
`openExpiryQty`,
/* Replace with a INT */
`openTickerQty`,
/* Replace with a INT */
`cumExpiryQty`,
/* Replace with a DOUBLE */
`cumExpiryMoney`,
/* Replace with a DOUBLE */
`avgExpiryPrice`,
/* Replace with a ENUM('None','Yes','No') */
`isDivControlDisabled`,
/* Replace with a DOUBLE */
`uBid`,
/* Replace with a DOUBLE */
`uAsk`,
/* Replace with a DOUBLE */
`iDays`,
/* Replace with a DOUBLE */
`iYears`,
/* Replace with a DOUBLE */
`strike`,
/* Replace with a DOUBLE */
`strikePv`,
/* Replace with a DOUBLE */
`stockLendPv`,
/* Replace with a DOUBLE */
`syntheticPrem`,
/* Replace with a DOUBLE */
`effSyntheticLimit`,
/* Replace with a DOUBLE */
`limitPrice`,
/* Replace with a BIGINT */
`numNotices`,
/* Replace with a BIGINT */
`numNoticeSR`,
/* Replace with a BIGINT */
`numNoticeAMEX`,
/* Replace with a BIGINT */
`numNoticeBATS`,
/* Replace with a BIGINT */
`numNoticeBOX`,
/* Replace with a BIGINT */
`numNoticeCBOE`,
/* Replace with a BIGINT */
`numNoticeC2`,
/* Replace with a BIGINT */
`numNoticeEDGO`,
/* Replace with a BIGINT */
`numNoticeEMLD`,
/* Replace with a BIGINT */
`numNoticeGMNI`,
/* Replace with a BIGINT */
`numNoticeISE`,
/* Replace with a BIGINT */
`numNoticeMCRY`,
/* Replace with a BIGINT */
`numNoticeMEMX`,
/* Replace with a BIGINT */
`numNoticeMIAX`,
/* Replace with a BIGINT */
`numNoticeMPRL`,
/* Replace with a BIGINT */
`numNoticeNQBX`,
/* Replace with a BIGINT */
`numNoticeNSDQ`,
/* Replace with a BIGINT */
`numNoticePHLX`,
/* Replace with a BIGINT */
`numNoticeSPHR`,
/* Replace with a BIGINT */
`numDisabled`,
/* Replace with a BIGINT */
`numListedFlexMiss`,
/* Replace with a BIGINT */
`numNoticePriceMiss`,
/* Replace with a BIGINT */
`numAggSizeLimit`,
/* Replace with a BIGINT */
`numRiskGroupLimit`,
/* Replace with a BIGINT */
`numResponses`,
/* Replace with a BIGINT */
`numFullSize`,
/* Replace with a BIGINT */
`numAllocSize`,
/* Replace with a BIGINT */
`numPriceMiss`,
/* Replace with a BIGINT */
`numTooLate`,
/* Replace with a BIGINT */
`numOtherMiss`,
/* Replace with a BIGINT */
`numDidNotTrade`,
/* Replace with a DATETIME(6) */
`timestamp`
)
VALUES(
'Example_accnt',
'Example_clientFirm',
'None',
'None',
'Example_ekey_tk',
123,
1,
1,
'None',
'None',
'None',
'Example_ticker_tk',
'None',
5,
5,
'None',
4.56,
4.56,
4.56,
4.56,
'None',
'None',
'None',
5,
5,
5,
4.56,
4.56,
'None',
4.56,
4.56,
4.56,
4.56,
4.56,
4.56,
4.56,
4.56,
4.56,
4.56,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
1234567890,
'2022-01-01 12:34:56.000000'
);
DELETE TABLE EXAMPLE QUERY
DELETE FROM `SRTrade`.`MsgResponderMarkupSN`
WHERE
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm'
AND
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ekey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ekey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ekey_tk` = 'Example_ekey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`ekey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_dy` = 1
AND
/* Replace with a ENUM('None','Buy','Sell') */
`respSide` = 'None';
Doc Columns Query
SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='ResponderMarkupSN' ORDER BY ordinal_position ASC;